<?php

namespace App\Model\System;

use App\Model\Model;
use Hyperf\Database\Model\SoftDeletes;

/**
 * @property integer $config_id
 * @property integer $classify_id
 * @property string $name
 * @property string $key
 * @property string $type
 * @property string $config_rule
 * @property boolean $required
 * @property string $info
 * @property smallint $sort
 * @property boolean $user_type
 * @property boolean $status
 * @property integer $delete_time
 * @property integer $update_time
 * @property integer $create_time
 */
class SystemConfig extends Model
{
    use SoftDeletes;

    protected $primaryKey = 'config_id';

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'yj_system_config';


    protected $fillable = [
        'classify_id',
        'name',
        'type',
        'config_rule',
        'required',
        'info',
        'key',
        'sort',
        'user_type',
        'status',
        'delete_time',
        'update_time',
        'create_time',
    ];

}
